{# 问答模块 - 问董秘互动卡片式展示 #}
<div class="mod-qa-container">
    <div class="section-title">问董秘互动（{{ '沪市' if market == 'sh' else '深市' }}）</div>
    <div class="qa-list">
        {% for qa in iwen_data %}
        <div class="qa-card">
            <div class="qa-q"><span class="tag">提问</span>{{ qa.question_text }}</div>
            {% if qa.answer_text %}
            <div class="qa-a"><span class="tag">回答</span>{{ qa.answer_text }}</div>
            <div class="qa-meta">回答时间：<span class="a-time" data-ts="{{ qa.answer_timestamp }}">{{ qa.answer_time }}</span></div>
            {% else %}
            <div class="qa-meta">（暂未回答）</div>
            {% endif %}
        </div>
        {% endfor %}
        {% if iwen_data|length == 0 %}
        <div class="qa-card">暂无问董秘数据</div>
        {% endif %}
    </div>
    {% if iwen_total and iwen_total > 20 %}
    <div class="more-link">
        <a href="{{ iwen_link }}?page=1" class="tab-link tab-active">查看所有问董秘 (共 {{iwen_total}} 条)</a>
    </div>
    {% endif %}
</div>
